export default () => {
  const setContextMenuEvent = () => {
    window.addEventListener('contextmenu', () => {
      window.api.contextMenu()
    })
  }

  return {
    setContextMenuEvent
  }
}
